package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.item.pojo.Item;

public interface IItemService extends IService<Item> {

    /**
     * 上下架
     * @param id
     * @param status
     */
    void putAndout(Long id, Integer status);

    boolean downItemStockById(Long id, Integer num);


}
